package com.bank.bank.customer.pojo.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import lombok.Data;

@Data
public class CustomerAddParam {
    @NotBlank(message = "客户姓名不能为空白")
    private String name;
    @Pattern(regexp = "^1[3-9]\\d{9}$", message = "手机号不合法")
    private String phone;
}
